package com.SmartCampus.system.mapper;

import com.SmartCampus.system.model.dto.course.CourseQueryRequest;
import com.SmartCampus.system.model.entity.Course;
import com.SmartCampus.system.model.vo.CourseVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

/**
* @author wangliang
* @description 针对表【course(课程表)】的数据库操作Mapper
* @createDate 2024-12-26 18:54:38
* @Entity generator.domain.Course
*/
public interface CourseMapper extends BaseMapper<Course> {

    List<CourseVO> getAll(Page<CourseVO> page, CourseQueryRequest courseQueryRequest);

    List<CourseVO> getStudent(Page<CourseVO> page, CourseQueryRequest courseQueryRequest, String clazzName);

    List<CourseVO> getTeacher(Page<CourseVO> page, CourseQueryRequest courseQueryRequest, String clazzName);

    List<CourseVO> getTeacher(Page<CourseVO> page, CourseQueryRequest courseQueryRequest, Long teacherId);
}




